﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeedReader.Shared.Data;
using FeedReader.Shared;

namespace FeedReader.Shared.Workers
{
    public class FeedFetcher
    {
        public FeedFetcher()
        {
            
        }

        public Feed FetchFeed(string url)
        {
            RssFeedReader thereader = RssFeedReader.Create(url, ".xml");
            Feed myfeed = thereader.GetFeed();
            return myfeed;
        }
    }
}
